package com.talkative.plan.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.socket.server.standard.ServerEndpointExporter;

/**
 * @author : best
 * @date : 2022/10/3
 */
@Configuration//配置
public class WebSocketConfig {
    //实例化 服务端解析器对象 存储在IOC容器
    @Bean
    public ServerEndpointExporter createSEE(){
        return new ServerEndpointExporter();
    }
}
